Rising superpower India has been updating its ageing war arsenal and is now one of the world's biggest defence spenders.